if ($DATmonth < $Todaymonth)=1 or ($DATmonth > $Todaymonth)=1
$OLD="T"
gosub "GetFiles"
goto scan
endif
else
gosub "GetFiles"
endif
:TEST
If ($SafeMode="Y")=1 and exist ("scan.dat")=1 goto SCAN endif
If ($SafeMode="Y")=1 and exist ("scan.dat")=0
if @inwin=1
BEEP
ShutDown ("","McAfee DAT Files were not found. The computer is being shutdown so you can download them in Normal Mode",30,1,1)
goto END
else
BEEP
messagebox("McAfee DAT Files were not found. The computer is being shutdown so you can download them in Normal Mode"," McAfee Command Line Scanner ",48,30)
run "%windir%\RUNDLL32.EXE user.exe,ExitWindows"
goto END
endif
endif
:SCAN
$result=messagebox ("Do you want to run the McAfee CLS now ? "," McAfee Command Line Scanner ",36,20)
SELECT
CASE ($result="6")=1
; YES
$result=messagebox ("Do you want to scan a particular folder or location ? "," McAfee Command Line Scanner ",36,20)